package com.ec.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.ec.core.annotation.Table;
import com.ec.core.annotation.Field;
//import javax.persistence.Table;

/**
 * Directory entity.
 *
 * @author MyEclipse Persistence Tools
 */
@Table(name = "T_DIRECTORY")
public class Directory implements java.io.Serializable {

	private static final long serialVersionUID = 7264392145870417477L;
	private int id;
	private String dirName;
	private String orgCode;
	private int parentId;
	private int priority;
	private int status;
	private Date createTime;


	public Directory() {
	}


	@Field(name="id",pk=true)
	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	@Field(name="dirname")
	public String getDirName() {
		return dirName;
	}


	public void setDirName(String dirName) {
		this.dirName = dirName;
	}

	@Field(name="orgcode")
	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	@Field(name="parentid")
	public int getParentId() {
		return parentId;
	}


	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	@Field(name="priority")
	public int getPriority() {
		return priority;
	}


	public void setPriority(int priority) {
		this.priority = priority;
	}

	@Field(name="status")
	public int getStatus() {
		return status;
	}


	public void setStatus(int status) {
		this.status = status;
	}

	@Field(name="createtime")
	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
